<template>
    <div>
        <h3>已完成事项</h3>
         <div>
             <div v-for="(i,index) in yesDo" :key="index">
                 {{i}}
                 <span class="tag" @click="$emit('deleteThing',index,'yesDo')">删除</span>
                 <span class="tag" @click="$emit('noDoThing',index,i)">代办</span>
             </div>
         </div>
    </div>
</template>
<script>
export default {
    props:['yesDo']
}
</script>